﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="spInitiate.aspx.cs" Inherits="spWebSite.Workflow.spInitiate" %>
<%@ Register src="../Controls/Pager.ascx" tagname="Pager" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <%=LinkCss %>
    <script type="text/javascript">
        window.onload = function (event) { window.setInterval(publishHeight, 300); }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="divBody" style="min-height:442px;">
    <table width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td colspan="2">
                <table width="100%" style="border:1px solid #BCBCBC;" cellpadding="0" cellspacing="0">
                    <tr>
                        <td colspan="9" style="background:url('../Resource/Images/Icon_TableLine.gif') repeat-x;height:10px;margin-top:0px;"></td>
                    </tr>
                    <tr>
                        <td style="width:10px;height:32px;"></td>
                        <td style="width:64px;">流程名称:</td>
                        <td style="width:160px;"><anthem:DropDownList ID="ProcessName" runat="server" Width="168"></anthem:DropDownList></td>
                        <td align="right" style="width:80px;">摘要:</td>
                        <td style="width:120px;"><anthem:TextBox ID="Summary" runat="server" Width="160"></anthem:TextBox></td>
                        <td style="width:103px;"></td>
                        <td><anthem:Button ID="Search" runat="server" EnableCallBack="true" style="background:url('../Resource/Images/Icon_ButtonBg.gif') 0px -12px; border:1px solid #FCC245; padding-top:2px; cursor:pointer;height:22px;width:60px;" Text="搜索" OnClick="Search_Click" /></td>
                    </tr>
                    <tr>
                        <td colspan="9" style="height:4px;"></td>
                    </tr>
                </table>            
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="height:6px"></td>
                    </tr>
                    <tr>
                        <td style="background:url('../Resource/Images/Icon_TableLine2.gif') repeat-x;height:16px;"></td>
                    </tr>
                    <tr>
                        <td style="height:2px"></td>
                    </tr>
                </table>            
            </td>
        </tr>
        <tr>
            <td colspan="2">
            <anthem:Repeater ID="Details" runat="server" AutoUpdateAfterCallBack="true">
                <HeaderTemplate>
                    <table width="100%" cellpadding="0" cellspacing="0" class="divTable">
                        <thead class="Title">
                            <tr style="background:url(../Resource/Images/Icon_TableTitle.gif) repeat-x;">
                                <td style="width:30px;" align="center">状态</td>
                                <td style="width:200px;">流程名称</td>
                                <td>描述</td>
                                <td style="width:140px;">步骤</td>
                                <td width="30px" class="End">版本</td>
                        </thead>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr class="Item">
                        <td align="center"><img alt="" src='<%# Eval("Images")%>' /></td>
                        <td><a target="_blank" style="cursor:hand;text-decoration: none;color:Black" href='<%# Eval("Url")%>'><%# Eval("ProcessName")%></a></td>
                        <td><a target="_blank" style="cursor:hand;text-decoration: none;color:Black" href='<%# Eval("Url")%>'><%# Eval("Description")%></a>&nbsp;</td>
                        <td><a target="_blank" style="cursor:hand;text-decoration: none;color:Black" href='<%# Eval("Url")%>'><%# Eval("StepLabel")%></a></td>
                        <td align="center"><%# Eval("ProcessVersion")%></td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </anthem:Repeater>
             <uc1:Pager ID="Pager1" runat="server" OnPageChanged="Pagger_PageChanged" />
            </td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
